package com.cjj.common.entity.po.master;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
* <p>
* 
* </p>
*
* @author BrownC_
* @since 2021-12-20
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("c_role")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CRole对象", description="")
public class CRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色ID")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    @ApiModelProperty(value = "角色名英文")
    @TableField("role_name_en")
    private String roleNameEn;

    @ApiModelProperty(value = "角色名中文")
    @TableField("role_name_cn")
    private String roleNameCn;

    @ApiModelProperty(value = "是否删除(0-否;1-是)")
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private Date updateTime;


}
